#define  _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <assert.h>
char* my_strcat(char* dest, char* src)
{
	assert(dest && src);
	char* str = dest;
	while (*dest != '\0')
	{
		dest++;
	}
	while (*dest++ = *src++)
	{
		;
	}
	return str;
}
int main()
{
	char a[20] = "hello";
	char b[10] = " bit";

	printf("%s\n", my_strcat(a, b));
	printf("%s\n", a);

	return 0;
}